<?php
include("userfunctions.php");
startsql();
$userip = fgets(STDIN);
$userip = str_replace("\n","",$userip);
$userip = str_replace("\r","",$userip);
echo get_user_ip_id($userip);
?>
